package chapter03;

public class Dog1 implements Animal1,Action{
    public static void main(String[] args) {
        Dog1 d = new Dog1();
        d.shout();
        d.info();
        d.eat();
    }
    public void shout(){
        System.out.println("汪汪");
    }
    public void info(){
        System.out.println(Animal1.getId());
        System.out.println(Animal1.NAME);
    }
    public void eat(){
        System.out.println("喜欢吃骨头");
    }
}
